package com.lab.system.mapper;

import com.lab.system.domain.AppointmentViolationRecord;

import java.util.List;


/**
 * 用户违规记录Mapper接口
 *
 * @author cf
 * @date 2025-02-11
 */
public interface AppointmentViolationRecordMapper {
    /**
     * 查询用户违规记录
     *
     * @param id 用户违规记录主键
     * @return 用户违规记录
     */
    public AppointmentViolationRecord selectAppointmentViolationRecordById(Long id);

    /**
     * 查询用户违规记录列表
     *
     * @param appointmentViolationRecord 用户违规记录
     * @return 用户违规记录集合
     */
    public List<AppointmentViolationRecord> selectAppointmentViolationRecordList(AppointmentViolationRecord appointmentViolationRecord);

    /**
     * 新增用户违规记录
     *
     * @param appointmentViolationRecord 用户违规记录
     * @return 结果
     */
    public int insertAppointmentViolationRecord(AppointmentViolationRecord appointmentViolationRecord);

    /**
     * 修改用户违规记录
     *
     * @param appointmentViolationRecord 用户违规记录
     * @return 结果
     */
    public int updateAppointmentViolationRecord(AppointmentViolationRecord appointmentViolationRecord);

    /**
     * 删除用户违规记录
     *
     * @param id 用户违规记录主键
     * @return 结果
     */
    public int deleteAppointmentViolationRecordById(Long id);

    /**
     * 批量删除用户违规记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppointmentViolationRecordByIds(Long[] ids);

    List<Long> countUser5();


}
